function FileSysInfo()
  files, blocks, blockSize = nxt.FileSysInfo()

  print( "Total File Descriptors -> " .. files  )
  print( "Total FLASH Blocks     -> " .. blocks )
  print( "FLASH Block Size       -> " .. blockSize .. " bytes" )
end

function DumpFileDesc(from,to)

  print( "Type Name         Block MaxBytes CurBytes CurPtr" )

  for h=from,to do
    print( string.format( "%4i %12s %5i %5i    %5i    %8i", nxt.FileHandleInfo(h) ) )
  end
end
